package day1.demo4;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Data
@Component
//@Scope("prototype")
public class Person {
    @Value("#{service.age}")
    Integer myage;
}
